﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wwtfly.BBS.Framework.Attributes
{
    [AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
    public class TabNameAttribute : Attribute
    {
        /// <summary>
        /// Tab名称属性
        /// </summary>
        /// <param name="tabName">Tab名称</param>
        public TabNameAttribute(string tabName)
        {
            _tabName = tabName;
        }

        private string _tabName;
        /// <summary>
        /// Tab名称
        /// </summary>
        public string TabName
        {
            get { return _tabName; } 
        }
    }

}
